#ifndef _DISJOINT_SET_
#define _DISJOINT_SET_

#define NumSets 100
typedef int DisjointSet[NumSets + 1];
typedef int SetType;
typedef int ElementType;

void Initialize(DisjointSet S);
void SetUnion(DisjointSet S, SetType root1, SetType root2);
SetType Find(ElementType x, DisjointSet S);

#endif